package com.pinecone.service;

import com.pinecone.dto.LiveRoomDTO;
import com.pinecone.dto.LiveRoomResponseDTO;
import com.pinecone.entity.LiveRoomEntity;

import java.util.List;
import java.util.Map;

/**
 * 直播活动表
 * 
 * @author hushangjie
 * @email 979783618@qq.com
 * @date 2017-09-27 21:17:58
 */
public interface LiveRoomService {
	
	LiveRoomEntity queryObject(String liveRoomId);
	
	List<LiveRoomEntity> queryList(Map<String, Object> map);

    int queryLiveRoomResponseTotal(Map<String, Object> map);

    List<LiveRoomResponseDTO> queryLiveRoomResponseList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(LiveRoomEntity liveRoom);
	
	void update(LiveRoomEntity liveRoom);
	
	void delete(String liveRoomId);
	
	void deleteBatch(String[] liveRoomIds);

	String createLiveRoom(Integer orgId, Integer customerId, LiveRoomDTO liveRoomDTO);

    void increaseOnlineVisitedNum(String liveRoomId);

    void increaseRepalyVisitedNum(String liveRoomId);

}
